package com.ts.proj.repository;

import com.ts.base.repository.CommonRepository;
import com.ts.proj.entity.FileEntity;
import com.ts.util.PageData;
import org.springframework.data.jpa.repository.Query;

import java.util.List;


//说明 字符串：，作为替换字符串 LOWERFile                File

public interface FileRepository extends CommonRepository<FileEntity> {

    @Query(value="  select distinct t.uuid,t.id from ta_project t where t.delete_flag = 'N'  ",nativeQuery = true)
    List<PageData> findAllProjects();
}